//---------------------------------------------------------------------------

#ifndef SceneH
#define SceneH

#include "Lista.h"
#include "LineDrawing.h"

class Scene {
private:
        float xLeft, xRight, yTop, yBot;
        Lista<LineDrawing>* drawingList;
public:
        Scene();
        ~Scene();
        void addPoint(GLPoint p);
        void startNewDrawing(GLPoint p);
        LineDrawing *getLineDrawing(int i);
        LineDrawing *getLineDrawing();
        int getNumberOfLines();

        void addFigure(LineDrawing* ld);

        void elimina(LineDrawing *ld);
        void deleteLineDrawing();
        void select(float x, float y);
        float getXLeft();
        float getXRight();
        float getYTop();
        float getYBot();
        void setLimits(float xLeft, float xRight, float yTop, float yBot);
        void setXLeft(float f);
        void setXRight(float f);
        void setYTop(float f);
        void setYBot(float f);
        void zoom(float f);
        float getRatio();
        LineDrawing* getLineDrawing(GLPoint p, float f);

        void Scene::applyFirstKochTransformation()  ;

};

//---------------------------------------------------------------------------
#endif
